package cn.wolfcode.trip.base.domain;

import lombok.Getter;
import lombok.Setter;

@Getter@Setter
public class Room extends BaseDomain{

    public static final Integer ROOM_TYPE_CHEAP = 1;
    public static final Integer ROOM_TYPE_COUPLES = 2;
    public static final Integer ROOM_TYPE_SINGLE = 3;
    public static final Integer ROOM_TYPE_FAMILY = 4;

    private Integer type=ROOM_TYPE_CHEAP;//酒店类型
    private String coverUrl;//房型封面

    public String getHotelTypeName() {
        if (type == 1) {
            return "经济房";
        } else if (type == 2) {
            return "双人床";
        } else if (type == 3) {
            return "单间";
        } else if (type == 4) {
            return "家庭套装";
        } else {
            return "其他房型";
        }
    }


}